/*
 * @Author: 89-83-77
 * @Description: 请填写当前文件简介
 * @Date: 2025-03-28 11:03:47
 * @LastEditTime: 2025-03-29 14:31:51
 * @FilePath: \fz-yzt-webd:\work\client\src\utils\typeCheck.js
 */
/// @ts-check
export const ensureString = (value) => {
  //确保值为字符串
  if (value === null || value === undefined) return "";
  if (typeof value === "number") return String(value);
  return value;
};
